<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>抽奖详情列表</h3>
            <form class="form-horizontal" th:object="${footRewardDetailSearchForm}" method="post"
                  th:action="@{/foot/footRewardDetail/search}" name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span12">
                        <div class="row-fluid">
                            <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                        </div>
                        <table style="width:100%" border="0">
                            <tbody>
                            <tr>
                                <th style="width: 125px;">等级名称:</th>
                                <td style="width: auto;"><input th:field="*{djmc}" type="text" name="djmc"
                                                                class="input_fix" placeholder="等级名称"/></td>
                                <th style="width: 125px;">球员名称:</th>
                                <td style="width: auto;"><input th:field="*{qyName}" type="text" name="qyName"
                                                                class="input_fix" placeholder="球员名称"/></td>
                                <th style="width: 55px;">类型:</th>
                                <td style="width: auto;"><input th:field="*{type}" type="text" name="type"
                                                                class="input_fix" placeholder="类型"/></td>
                                <td style="width:120px;">
                                    <button class="btn btn-info" style="float: right;" type="button"
                                            onclick="pagechange(1);"><em class="icon-search"></em>查询
                                    </button>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <table id="table_bug_report" class="table table-hover">
                            <thead>
                            <tr>
                                <th>用户名称</th>
                                <th>抽奖时间</th>
                                <th>获得球员</th>
                                <th>球员等级</th>
                                <th>类型</th>
                                <th class="hidden-480">花费金额</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="t:${footRewardDetailList}">
                                <td><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${t.nike}">123</a></td>
                                <td><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${#dates.format(t.rewardTime,'yyyy-MM-dd HH:mm:ss')}">123</a></td>
                                <td><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${t.yw + (t.qyName == null ? '' : '(' + t.qyName + ')')}">123</a></td>
                                <td><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${t.qydj}">123</a></td>
                                <td><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${t.type == 0 ? '免费' : '花费'}">123</a></td>
                                <td class="hidden-480"><a th:href="@{/foot/footRewardDetail/view(id=${t.id})}" th:text="${#numbers.formatDecimal(t.pay, 0, 0)}">123</a></td>
                            </tr>
                            </tbody>
                            <tfoot>
                            <tr>
                                <td colspan="6">
                                    <div class="row-fluid" th:include="common/page :: page"></div>
                                </td>
                            </tr>
                            </tfoot>
                        </table>
                        <!--/#page-content-->
                    </div>
                    <!--/#page-content-->
                </div>
            </form>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>